package org.hawk.gwtppc.webtest.tests.classsuite;

import org.hawk.gwtppc.webtest.common.Asserts;
import org.hawk.gwtppc.webtest.common.Test;
import org.hawk.gwtppc.webtest.tests.mock.AnnotationMock;
import org.hawk.gwtppc.webtest.tests.mock.ClassMock;
import org.hawk.gwtppc.webtest.tests.mock.EnumMock;
import org.hawk.gwtppc.webtest.tests.mock.InterfaceMock;

public class IsEnumTest implements Test {

	public void run() throws Throwable {
		Asserts.assertFalse(InterfaceMock.class.isEnum());
		Asserts.assertFalse(AnnotationMock.class.isEnum());
		Asserts.assertFalse(ClassMock.class.isEnum());
		Asserts.assertTrue(EnumMock.class.isEnum());
	}

	public String getName() {
		return "isEnum()";
	}

}
